package com.baor.distribution.domain;

import java.util.Date;
import java.io.Serializable;

/**
 * 订单表(TOrder)实体类
 *
 * @author makejava
 * @since 2025-07-19 09:43:54
 */
public class TOrder implements Serializable {
    private static final long serialVersionUID = 603878925160854398L;
/**
     * 订单id
     */
    private Integer orderid;
/**
     * 订单号
     */
    private String orderno;
/**
     * 支付类型 0、微信支付 1、...
     */
    private Integer paytype;
/**
     * 订单来源 0、小程序 1、...
     */
    private Integer ordersource;
/**
     * 商品id
     */
    private Integer commoid;
/**
     * 数量
     */
    private Integer number;
/**
     * 商品总额
     */
    private String totalprice;
/**
     * 优惠金额
     */
    private String discountprice;
/**
     * 配送金额
     */
    private String deliveryprice;
/**
     * 支付金额
     */
    private String finalprice;
/**
     * 买家id
     */
    private Integer buyer;
/**
     * 配送方式 0、虚拟发货 1、物流配送
     */
    private Integer delivery;
/**
     * 商家地址库id
     */
    private Integer deliveryaddr;
/**
     * 发货状态 0、待支付 1、待发货 2、已发货 3、已完成 4、已关闭
     */
    private Integer deliverystatus;
/**
     * 订单状态 0、已关闭 1、已完成
     */
    private Integer status;
/**
     * 备注/买家留言
     */
    private String remarks;
/**
     * 维权id
     */
    private Integer right;
/**
     * 支付时间
     */
    private Date paytime;
/**
     * 是否删除 0、未删除 1、已删除
     */
    private Integer delflag;
/**
     * 创建时间
     */
    private Date createtime;


    public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno;
    }

    public Integer getPaytype() {
        return paytype;
    }

    public void setPaytype(Integer paytype) {
        this.paytype = paytype;
    }

    public Integer getOrdersource() {
        return ordersource;
    }

    public void setOrdersource(Integer ordersource) {
        this.ordersource = ordersource;
    }

    public Integer getCommoid() {
        return commoid;
    }

    public void setCommoid(Integer commoid) {
        this.commoid = commoid;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(String totalprice) {
        this.totalprice = totalprice;
    }

    public String getDiscountprice() {
        return discountprice;
    }

    public void setDiscountprice(String discountprice) {
        this.discountprice = discountprice;
    }

    public String getDeliveryprice() {
        return deliveryprice;
    }

    public void setDeliveryprice(String deliveryprice) {
        this.deliveryprice = deliveryprice;
    }

    public String getFinalprice() {
        return finalprice;
    }

    public void setFinalprice(String finalprice) {
        this.finalprice = finalprice;
    }

    public Integer getBuyer() {
        return buyer;
    }

    public void setBuyer(Integer buyer) {
        this.buyer = buyer;
    }

    public Integer getDelivery() {
        return delivery;
    }

    public void setDelivery(Integer delivery) {
        this.delivery = delivery;
    }

    public Integer getDeliveryaddr() {
        return deliveryaddr;
    }

    public void setDeliveryaddr(Integer deliveryaddr) {
        this.deliveryaddr = deliveryaddr;
    }

    public Integer getDeliverystatus() {
        return deliverystatus;
    }

    public void setDeliverystatus(Integer deliverystatus) {
        this.deliverystatus = deliverystatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getRight() {
        return right;
    }

    public void setRight(Integer right) {
        this.right = right;
    }

    public Date getPaytime() {
        return paytime;
    }

    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }

    public Integer getDelflag() {
        return delflag;
    }

    public void setDelflag(Integer delflag) {
        this.delflag = delflag;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

}

